<div class="accounts white" style="height:265px">
	<div class="rules"><a href="<?php echo url('help/rules');?>">Rules</a> | <a href="<?php echo url('help/howtoplay'); ?>">How to Play</a></div>
	<div class="edward"><?php echo $user['firstname'] . ' ' . $user['lastname']; ?></div>
	<div class="clear" style="height: 15px;"></div>
	<div class="cash">
		<div>
			<span class="left">Cash</span><span class="right" id="current_balance">$<?php echo $user['balance'] ;?></span>
				<span class="clear"></span>
		</div>
		<div class="clear"></div>
		<div>
			<span class="left">Credits</span><span class="right" id="current_credits"><?php echo $user['credit'] ;?></span><span
				class="clear"></span>
		</div>
	</div>
	<div class="clear" style="height: 22px;"></div>
	<div style="width:180px; margin: 0 auto;">
		<span class="left">Partial Credits</span>
		<div id="progressbar_side" class="left"></div>
		<script>
			$('#progressbar_side').myProgressbar({
				width: 180,
				height: 30,
				value: <?php echo isset($user['partial'])? $user['partial'] : 0 ;?>,
				bg_img: '<?php echo $img_url; ?>bg_img.png',
				color_img: '<?php echo $img_url; ?>color_img.png'
			});
		</script>
	</div>
	<div class="clear" style="height: 22px;"></div>
	<div class="edit"><a href="<?php echo url('user/profile'); ?>">Edit Profile</a> &nbsp;&nbsp; <a href="<?php echo url('user/logout'); ?>">Signout</a></div>
	<div class="clear" style="height: 22px;"></div>
</div>